#include <stdio.h> 

int main()
{
	int x=1;
	int y=1;
	int n=9;
	while(x<=n){
		y=1;
		while(y<=x) {
			printf("%d*%d=%d",y,x,x*y);
			if(x*y<=9)	{printf("   ");}
			else if(x*y>=10){printf("  ");
			
			}
			
			
			y++;
		}
	printf("\n");
	x++;
	}
	
	return 0 ;
}
